package com.hongdee.scm.outwarehouse.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by Mr. Xu on 2017/5/24.
 * 销售出库
 */
@Entity
@Table(name = "T_Scm_Sale_Out_WareHouse")
public class TScmSaleOutWareHouse extends BaseEntity {
    //vin
    @Column(name = "vin", length = 32, columnDefinition = "VARCHAR(32) COMMENT 'vin'")
    private String vin;
    //销售出库单单号
    @Column(name = "out_order_num", length = 32, columnDefinition = "VARCHAR(32) COMMENT '出库单单号'")
    private String outOrderNum;
    //销售出库时间
    @Column(name = "out_time", length=32, columnDefinition = " VARCHAR(32) COMMENT '出库时间' ")
    private String outTime;

    //出库类型（1销售出库0调拨出库）
    //@Column(name = "outType", length=10, columnDefinition = " VARCHAR(10) COMMENT '出库类型' ")
    //private String outType;

    //出库人
    @Column(name = "out_staff", length=32, columnDefinition = " VARCHAR(32) COMMENT '出库人' ")
    private String outStaff;

    //出库状态（1已出库0未出库）
    @Column(name = "out_status", length=32, columnDefinition = " VARCHAR(32) COMMENT '1已出库0未出库' ")
    private String outStatus;

    //销售单号
    @Column(name = "sale_order_num", length=32, columnDefinition = " VARCHAR(32) COMMENT '销售单号' ")
    private String saleOrderNum;

    //公司id
    @Column(name = "company_id", length=32, columnDefinition = " VARCHAR(32) COMMENT '公司id' ")
    private String companyId;

    /**
     * 月结状态0未月结 1已月结
     */
    @Column(name = "monthly_status", length=1, columnDefinition = " VARCHAR(1) COMMENT '月结状态0未月结 1已月结' ")
    private String monthlyStatus;

    public String getMonthlyStatus() {
        return monthlyStatus;
    }

    public void setMonthlyStatus(String monthlyStatus) {
        this.monthlyStatus = monthlyStatus;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getOutOrderNum() {
        return outOrderNum;
    }

    public void setOutOrderNum(String outOrderNum) {
        this.outOrderNum = outOrderNum;
    }

    public String getOutTime() {
        return outTime;
    }

    public void setOutTime(String outTime) {
        this.outTime = outTime;
    }

    public String getOutStaff() {
        return outStaff;
    }

    public void setOutStaff(String outStaff) {
        this.outStaff = outStaff;
    }

    public String getOutStatus() {
        return outStatus;
    }

    public void setOutStatus(String outStatus) {
        this.outStatus = outStatus;
    }

    public String getSaleOrderNum() {
        return saleOrderNum;
    }

    public void setSaleOrderNum(String saleOrderNum) {
        this.saleOrderNum = saleOrderNum;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }
}
